package com.jsong.linuo.object;

/**
 * @Author: 黎诺
 * @CreateTime: 2025-04-29
 * @Description: 测试
 */

public class Test01 {
    public static void main(String[] args) {
        Person person = new Person("小西",23);
        //如果直接输出对象名不想输出地址名就重写toString()
        System.out.println(person.toString());
        System.out.println(person);
    }


}
